﻿using System;
using System.Collections.Generic;
using System.Text;


namespace AspNetCs.Model
{
    /// <summary>
    ///
    /// </summary>
    public class IndexTabAd
    {

        private int _id;
        private string _pictext;
        private string _picTitle;
        private DateTime _addtime;

        /// <summary>
        /// 默认构造方法.
        /// </summary>
        public IndexTabAd()
        {
        }

        /// <summary>
        /// 含参构造方法.
        /// </summary>
        /// <param name="_id">主键</param>
        /// <param name="_pictext">图片</param>
        /// <param name="_picTitle">URL</param>
        /// <param name="_addtime"></param>
        public IndexTabAd(int _id,
                string _pictext,
                string _picTitle,
                DateTime _addtime)
        {
            this._id = _id;
            this._pictext = _pictext;
            this._picTitle = _picTitle;
            this._addtime = _addtime;
        }

        /// <summary>
        /// 获取或设置主键.
        /// </summary>
        public int Id
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        /// <summary>
        /// 获取或设置图片地址
        /// </summary>
        public string Pictext
        {
            get
            {
                return this._pictext;
            }
            set
            {
                this._pictext = value;
            }
        }

        /// <summary>
        /// 链接URL.
        /// </summary>
        public string PicTitle
        {
            get
            {
                return this._picTitle;
            }
            set
            {
                this._picTitle = value;
            }
        }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime Addtime
        {
            get
            {
                return this._addtime;
            }
            set
            {
                this._addtime = value;
            }
        }
    }
}